package org.ohuyo.libra.server.msg.service.impl;

import java.io.Serializable;

import javax.annotation.Resource;

import org.ohuyo.libra.base.message.impl.AppValidateReq;
import org.ohuyo.libra.base.message.impl.AppValidateResp;
import org.ohuyo.libra.base.message.impl.GetAttributeReq;
import org.ohuyo.libra.base.message.impl.GetAttributeResp;
import org.ohuyo.libra.base.message.impl.SetAttributeReq;
import org.ohuyo.libra.base.message.impl.SetAttributeResp;
import org.ohuyo.libra.base.message.service.ClientMessageService;
import org.ohuyo.libra.server.msg.service.MessageService;

/**
 * 
 * @author rabbit
 * @since 2011-9-29
 */
public class AbstractClientMessageService implements ClientMessageService,Serializable {
	/**
	 * 
	 */
	@Resource(name = "org.ohuyo.libra.server.messageService")
	protected MessageService messageService;

	public AppValidateResp validateApp(AppValidateReq req) {
		return messageService.validateApp(req);
	}

	public SetAttributeResp setAttribute(SetAttributeReq req) {
		return messageService.setAttribute(req);
	}

	public GetAttributeResp getAttribute(GetAttributeReq req) {
		return messageService.getAttribute(req);
	}

}
